-- GENERATED SPELL FOR [Gluggle] --


function spell0_14487(pUnit, Event) --@Acid Splash,Self--
pUnit:FullCastSpellOnTarget(6306,pUnit)
pUnit:RegisterEvent('Sorts_14487', 31000, 1)
end

function Sorts_14487(pUnit, Event)
local choix_sorts_14487 = math.random(0, 0)
if choix_sorts_14487 == 0 then
pUnit:RegisterEvent('spell0_14487', 1, 1)
end
end

function mob14487_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14487', math.random(1500, 3000), 1)
end

function mob14487_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14487_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14487_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14487, 1, 'mob14487_Action')
RegisterUnitEvent(14487, 2, 'mob14487_Leave')
RegisterUnitEvent(14487, 3, 'mob14487_Kill')
RegisterUnitEvent(14487, 4, 'mob14487_Die')
